package communication;

import java.net.InetAddress;

public class AcceptFileTransferRequest extends Request
{
	String originator;
	String fileName;
	InetAddress ip;
	int port;
	
	public AcceptFileTransferRequest(String sender, String originator, String fileName, InetAddress ip, int port) 
	{
		super(sender);
		this.originator = originator;
		this.fileName = fileName;
		this.ip = ip;
		this.port = port;
	}
	public String getOriginator()
	{
		return originator;
	}
	public String getFileName()
	{
		return fileName;
	}
	public InetAddress getIP()
	{
		return ip;
	}
	public int getPort()
	{
		return port;
	}
}
